package com.vhall.component.entity.exam.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author song.dong
 * @date 2021-07-14 11:33
 */
@Data
public class ExamGradeReqVo implements Serializable {

    @NotBlank(message = "graded_mark is not null")
    @ParamName("graded_mark")
    private String gradedMark;

    @NotNull(message = "operator_account_id is not null")
    @ParamName("operator_account_id")
    private Integer operatorAccountId;

    @NotBlank(message = "operator_nickname is not null")
    @ParamName("operator_nickname")
    private String operatorNickname;

    @NotNull(message = "room_id is not null")
    @ParamName("room_id")
    private String roomId;

    @NotNull(message = "answer_id is not null")
    @ParamName("answer_id")
    private Integer answerId;

    @NotNull(message = "exam_id is not null")
    @ParamName("exam_id")
    private Integer examId;

    @ParamName("account_id")
    private Integer accountId;

    @ParamName("type")
    private Integer type;

    @ParamName("is_grade")
    private Integer isGrade;

    @ParamName("keyword")
    private String keyword;

    @ParamName("page")
    private Integer page = 1;

    @ParamName("page_size")
    private Integer pagesize = 10;
}
